| Get | getPetById |
Resource Path: /pet/{petId}
Description
Find pet by ID
Parameters
| Name | Description | Data Type |
|---|---|---|
| petId | ID of pet to return | integer |
Response
The response body is of type Pet.
successful operationOverview
![]() |
Pet
Represents a single Pet in the Store.
|
Fault Responses
| Fault | Description |
|---|---|
| 400 | Invalid ID supplied |
| 404 | Pet not found |
See Also




